package table_walker;

public class Token {
	private String type;
	private String name;

	public Token(String type, String name) {
		this.type = type;
		this.name = name;
	}

	public void setType(String type) {
		this.type = type;
	}
	public String getType() {
		return type;
	}
	
	public String getName() {
		return name;
	}
	
	public String toString () {
		return "Type: " + type + " : " + " - Name: " + name; 
	}

	public void setName(String substring) {
		// TODO Auto-generated method stub
		name=substring;
	}
}
